<!DOCTYPE html>
<html>
<head>
    <#include "../common.ftl">
</head>
<body class="childrenBody">
<form class="layui-form" style="width:80%;">
    <input name="id" type="hidden" value="${(shop.id)!}"/>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">店铺名称</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input userName" lay-verify="required" name="shopName"
                   id="shopName" value="${(shop.shopName)!}" placeholder="请输入店铺名称">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">会员名称</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input userName" lay-verify="required" name="memberName"
                   id="memberName" value="${(shop.memberName)!}" placeholder="请输入会员名称">
<#--            <select name="memberName" id="memberName">-->
<#--                <option value="">请选择</option>-->
<#--            </select>-->
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">店铺地址</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input userName" lay-verify="required" name="shopAddress"
                   id="shopAddress" value="${(shop.shopAddress)!}" placeholder="请输入店铺地址">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">是否自营</label>
        <div class="layui-input-block">
            <select name="selfSupport" lay-filter="selfSupport">
                <option value=""  selected=""  ></option>
                <option value="0" <#if (shop.selfSupport)! =="0">selected="selected"</#if> >非自营</option>
                <option value="1" <#if (shop.selfSupport)! =="1">selected="selected"</#if> >自营</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">店铺状态</label>
        <div class="layui-input-block">
            <select name="shopState" lay-filter="shopState">
                <option value="" selected="" ></option>
                <option value="0"  <#if (shop.shopState)! =="0">selected="selected"</#if> >未开启</option>
                <option value="1"  <#if (shop.shopState)! =="1">selected="selected"</#if> >开启中</option>
            </select>
        </div>
    </div>
    <br/>
    <div class="layui-form-item layui-row layui-col-xs12">
        <div class="layui-input-block">
            <button class="layui-btn layui-btn-lg "  lay-submit="" lay-filter="addOrUpdateCusDevPlan">确认</button>
            <button class="layui-btn layui-btn-lg layui-btn-normal" id="closeBtn">取消</button>
        </div>
    </div>
</form>

<script type="text/javascript" src="${ctx}/js/merchant/add_update.js">
</script>

</body>
</html>